An error was recently found in the Event Viewer: "Parallel Port driver service failed to start due to the following error",I searched the internet for a bit and found that many of the pages said the solution:Put the Hkey_local_machine\system\controlset001\services\parport, change "start=3" to "start=0" canI just follow this method to operate a bit, and then resta
Boot up an error window to view the Event Viewer. Found a red fork record: The Parallel port driver service failed to start because of the following error: The service could not be started because the device that has been disabled or associated with it has not started. "Don't know how to solve, search a bit, fix." Chongwen as follows: Some people say that finding
Boot up an error window to view the Event Viewer. Found a red fork record: The Parallel port driver service failed to start because of the following error: The service could not be started because the device that has been disabled or associated with it has not started. "Don't know how to solve, search a bit, fix." Chongwen as follows: Some people say that finding
COM means the serial port, while LPT (not the LTP) means the parallel port. The serial port is a port provided by the computer bus for data transmission. In the serial port, data is transmitted in a bitwise stream, LPT is another
Write Linux parallel interface character device driver translated from: the Linux kernel Primer: a top-down approach for x86 and PowerPC ubuntures
"Translated by clardia Salzberg Rodriguez, Gordon Fischer, Steven Smolski Liu Jianwen
)
Key: Parallel Port of Linux driverIntro
In this tutorial, a Linux
(UInt16 i)//Delay Function{UCHAR8 J; for(; i>0; i--) for(j=0;j the; j + +) ;} Main () {SCON=0x00; EA=1;//Total interrupt allowedes=1;//allow serial total interruptsNsendbyte=1;//light data initialized to 0000 0001 fed into nsendbyteSbuf=nsendbyte;//write to Sbuf buffer to light data, start serial sendp1_0=0; while(1) { ; }}voidSerial_port () Interrupt4 using 0 { if(T1)//If the t1=1;1 byte is sent in a serial{p1_0=1;//that is 0x90=1;??? allow 74ls164 chip
Analog serial port Driver Based on Listen 8 common IO port
The format of standard serial communication data is:Start bit (1) + Data bit (8) + check bit (1) + stop bit (1)
Another important part of serial communication is to set the baud rate,The baud rate is the number of bits transmitted by the serial port w
control whether the data ports are high or low, the regular high/low level conversion constitutes a pulse signal, which can be directly output to the steering gear if properly controlled.LPT parallel pin definition:
D0 ~ D7: data interface. The parallel port transmits one byte at a time. When the parallel
With the continuous development of single-chip microcomputer applications, there are more and more multi-chip systems composed of multiple single-chip microcomputer, and information exchange between multiple single-chip microcomputer is a whole. The work of a single-chip microcomputer is divided into multiple single-chip microcomputer. On the one hand, the performance of the system can be improved, and on the other hand, the hardware design of the system can be simplified.Asynchronous serial por
PC parallel port register
This article is excerpted from Wang honghui's book "Practical Guide for developing embedded Linux kernel (ARM platform )".
On PCProgramAccess and control the pin signals of the parallel port by accessing the I/O port registers of the
On a blog analysis of the serial drive initialization section, the following step-by-step analysis of serial port drive in the open serial, data transmission and reception.
Initialize main workflow:
First to analyze the serial port to open the operation process, or first figure:
Here, the analysis is inseparable from the last blog in two important pictures:
The important data structure of serial operat
TTY Driver Architecture:1. TTY Concept Analysis1.1/dev/ttysca01.2/dev/tty1-n1.3/dev/consoleIn a Linux system, a terminal is a type of character device, which consists of many types, usually using a TTY for short-range end devices.. Serial Terminal (/dev/ttys*)The serial port terminal is the end device which uses the computer serial port connection. Linux consider
Parallel port for short, it has 3 ports: Data port, State port, control port, commonly used and port is LPT1, its 3 ports address are: 378H, 379H and 37AH respectively.
First, the same mouth read and write
In assembly language,
C # Only the class for direct serial port operation is provided. If you operate the parallel port directly, you need to call the API function:
Using system. runtime. interopservices;
String senddata = "^ XA ^ fo50, 80 ^ ADN, 36,20 ^ fdtrw eol2 ^ FS ^ xz"; // zebra printer Command Format
[Dllimport ("kernel32.dll")]
Private Static extern int createfile (
String
Transferred from: http://blog.csdn.net/bonnshore/article/details/7979705Written in the previous words:Bloggers opened a new personal site: You can also see this article here, click to open the linkThis article is a blogger learning Linux drive transplant after a full two weeks through the access to data and some of their own observations to do some of the records, designed as a future review materials, because bloggers have not much experience in the text may appear some fallacy, hope to see the
It took almost a week to learn drivers. During this period, I was busy learning Linux application programming, search driver, and kernel-related books for further study. In the previously friendly driver routines, the knowledge involved is very limited. It is imperative to study more driver source code and learn more about dr
Debug windbg dual-host Kernel through the parallel port, windbgkernel
Preface:
Windows kernel mode debug is available in two ways:
1. windbg dual-host kernel debugging
2. traceview capture wpp log debugging
This section describes how to use the parallel port for windbg dual-host kernel debugging.
Preparation:
1.
7 parallel port service (parallel port service -- int 17 h)
00 h-output characters to the printer
01 H-initialize the printer port
02 h-read printer status
(1) function 00 h
Function Description: output characters to the printer
Entry parameter: Ah = 00 h
Al = output chara
ArticleDirectory
Method -:
Method 2:
Use Windows APIs
MSComm control used in MFC
Use USB to serial drive cypress_m8.ko (kernel> = 2.6)
Use hiddev
Introduction: USB 2com is a virtual serial port driver of USB to serial port converter.
Program (Windows2000/XP), USB-HID-> com converter (not tested) for the proxyess, and compatible device
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.